package com.killer.business.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.killer.common.entity.BaseEntity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author killer
 * @since 2021-09-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_ad")
@ApiModel(value="Ad对象", description="")
public class Ad extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "广告名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "广告位置")
    @TableField("position")
    private String position;

    @ApiModelProperty(value = "开始时间")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty(value = "到期时间")
    @TableField("end_time")
    private Date endTime;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "图片地址")
    @TableField("image")
    private String image;

    @ApiModelProperty(value = "URL")
    @TableField("url")
    private String url;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;


}
